package com.snl.micro.blog.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.snl.micro.blog.common.vo.ArticleVo;
import com.snl.micro.blog.user.pojo.po.UserInfoPo;
import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVo  {
    private Long id;
    private String username;
    private String password;
    private String nickname;
    private LocalDateTime birthDay;
    private Integer age;
    private String imgUrl;

    private String email;

    private String phone;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    /**
     * 关注该用户的粉丝
     */
    private List<UserInfoPo> fans;
    /**
     * 关注他人
     */
    private List<UserInfoPo> followings;

}
